package com.bucks.repository;

import com.bucks.bean.Coffee;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @date 2019-11-11
 */
public interface CoffeeRepository extends MongoRepository<Coffee,String> {

    List<Coffee> findByName(String name);
}
